home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
perlcl16.lha
/
perlclass1.6
/
Changelog
next >
Wrap
Text File
|
1992-11-10
|
3KB
|
66 lines
CHANGELOG
---------
v1.1 - Added PerlString::tr()
- Added PerlString::operator+=(char)
- Added PerlString(const char) constructor
v1.2 - Fixed a test case in PerlClass
- Increased initial allocation of PerlString to 32 characters
- Optimized PerlStringList::grep() by only compiling regexp once
- Added PerlString::m(const Regexp&...) so that pre-compiled regular
expressions can be used
- changed "fprintf(stderr..." to "cerr << ..." in regexp.h
- Added c, d & s options to the PerlString::tr() function
- fixed some bugs in tr() range processing
v1.3 - Cleaned up MArray constructor - Thanks Michael
- Cleaned up tr() some more. Fixed d and s and c option.
- Added PerlStringList PerlString::split()
- Added operator>>() for PerlString
- Added operator>>() for PerlStringList
- Fixed operator<<() for PerlStringList
- Added operator>>() for PerlList
- Fixed operator<<() for PerlList
v1.4 - Implemented PerlList::sort()
- Implemented PerlString:s(), the substitute command
- Added subexpression replacement in PerlString:s()
- split out the test code from perlclass.c++ into perltest.c++
- fixed bug in substr() for default length
- Added the 'g' option for PerlString:s()
- Changed the way that PerlString::m(s, l) works, now the list
'l' is reset first.
- Added PerlList<T>:operator void*() so a list can be used in
a conditional, and returns 0 if the list is empty
- Added PerlStringList m(pat, str) to match perl syntax
- Added case insensitive matching to Regexp class
- Added 'i' option to PerlStringList::grep
- Added 'i' option to the m() functions
- Added 'i' option to PerlString::s() function
- Added a generic Makefile - Hooray
v1.5 - Added PerlList<T>::isempty()
- Added PerlListBase instead of MArray, which uses the empty
space technique at front and back as suggested by MG.
- Changed PerlListBase::operator[]() to allow indexing non-existing
elements, and implemented auto grow.
- Fixed splice() to append to end of list if offset is > number
of items in list, this matches perls behaviour
- Fixed potential overrunning end of string in substring class
- added a const version of Binar::key() and value()
- Replaced MArray with VarString class for improved string
handling - ie faster
v1.6 - Changed VarString::operator=() to not delete and new if
enough is already allocated. (as per MG)
- Fixed a grow() bug in VarString::add(char)
- Sped up tr() by replacing lookup with indexed array for search
- Fixed split() so it splits on whitespace by default
- Added a PerlString::substring(Range) for convenience
- Fixed split() to use regular expression for pattern, as per
Perl (including subexpressions)
- Fixed pop() to not give an assertion error when list is empty
but to return an undefined element instead
- Added special awk case to split("' '")
- Added special case for empty string in split("")